Skip to content

allow adding same components multiple times in 'sequence' using blocks#1050

Closed
hilsonshrestha wants to merge 1 commit into
devfrom
cannot-have-multiple-nasa-tlx-library
Closed

allow adding same components multiple times in 'sequence' using blocks#1050
hilsonshrestha wants to merge 1 commit into
devfrom
cannot-have-multiple-nasa-tlx-library

Conversation

@hilsonshrestha

Copy link
Copy Markdown
Contributor

Does this PR close any open issues?

Closes #1029

Give a longer description of what this PR addresses and why it's needed

Currently, same component cannot be added twice in sequence restricting us to reuse components. This also applied to libraries.
This PR allows same component name to be in the sequence by separating into blocks.

Example:

{
    "components": [
      "introduction",
      "$demographics.components.demographics",
      "barChart",
      {
        "id": "block1",
        "order": "fixed",
        "components": ["barChart"]
      },
      {
        "id": "block2",
        "order": "fixed",
        "components": ["barChart"]
      },
      {
        "id": "block3",
        "order": "fixed",
        "components": ["$demographics.components.demographics"]
      },
      {
        "id": "block4",
        "order": "fixed",
        "components": ["$demographics.components.demographics"]
      },
      {
        "id": "block5",
        "order": "fixed",
        "components": [
          {
            "order": "fixed",
            "id": "block5-1",
            "components": ["$demographics.components.demographics"]
          }
        ]
      },
      "external_website"
    ]
}

@github-actions

github-actions Bot commented Feb 21, 2026

Copy link
Copy Markdown

A preview of is uploaded and can be seen here:

https://revisit.dev/study/PR1050

Changes may take a few minutes to propagate.

@JackWilb

JackWilb commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

It seems this problem was fixed in another way on the current dev branch.

@JackWilb JackWilb closed this Jun 9, 2026
@JackWilb JackWilb deleted the cannot-have-multiple-nasa-tlx-library branch June 9, 2026 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot have multiple nasa-tlx library

2 participants